package com.foogui.faw.oa.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;


/**
 * 应用配置
 *
 * @author wangxin213
 * @date 2024/01/25
 */
@Configuration
@RefreshScope
@Data
public class ProcessConfig {

    /**
     * 租户ID
     */
    @Value("${process.config.tenantLimitId:r2sc8ufe}")
    private String tenantLimitId;

    /**
     * 应用码
     */
    @Value("${process.config.appsource:SA-0214}")
    private String appsource;

    /**
     * 审批模板对应的分类码
     */
    @Value("${process.config.category:SA-0214.SA-0214.SA-0214-msa-a01-rebate}")
        private String category;

    /**
     * 门户系统码
     */
    @Value("${process.config.sysCode:faw_swzc}")
    private String sysCode;

    /**
     * 门户流程编码
     */
    @Value("${process.config.procCode:faw_swzc.SA-0214-msa-a01-rebate}")
    private String procCode;

}
